import http from '../utils/request';

const { post } = http('admin');

// 获取图片列表
export const getList = params => post('/web/pic/list', params);
// 新增图片
export const add = params => post('/web/pic/add', params);
// 编辑图片
export const edit = params => post('/web/pic/edit', params);
// 获取图片详情
export const getDetail = params => post('/web/pic/detail', params);
